﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using WpfApp.dbQPDataSetTableAdapters;

namespace WpfApp.DataProvider
{
    /// <summary>
    /// Главное окно Партии
    /// </summary>
    public class BatchesFullDataProvider
    {
        private BatchesFullTableAdapter BatchesFullAdapter;

        public BatchesFullDataProvider()
        {
            dbQPDataSet dataset = dbQPDataProvider.dbQPDataSet;

            BatchesFullAdapter = new BatchesFullTableAdapter();
            BatchesFullAdapter.Fill(dbQPDataProvider.dbQPDataSet.BatchesFull);
        }

        public DataView GetBatchesFull()
        {
            return dbQPDataProvider.dbQPDataSet.BatchesFull.DefaultView;
        }
    }
}
